QADeviceGetNextEngine
You can use theQADeviceGetNextEngine
function to get the next drawing engine that can draw to a particular device.
TQAEngine *QADeviceGetNextEngine ( const TQADevice *device, const TQAEngine *currentEngine);
device
- A device, or the value
NULL
.currentEngine
- A drawing engine.
DESCRIPTION
TheQADeviceGetNextEngine
function returns, as its function result, the drawing engine that supports the device specified by thedevice
parameter that follows the engine specified by thecurrentEngine
parameter. The value you pass in thecurrentEngine
parameter should have been obtained from a previous call toQADeviceGetFirstEngine
orQADeviceGetNextEngine
.If you pass the value
NULL
in thedevice
parameter,QADeviceGetNextEngine
returns a the next drawing engine without regard for its ability to drive any particular device. You can use this technique to find all available engines.